#include "bit_model.hpp"

BitModelCounter historyCounters[1<<16];

int BitModelApproxCounter::dt[128];  // i -> 1K/(i+2)

void BitModelApproxCounter::init()
{
	if (dt[0] == 0)
	{
		for (int i=0; i<128; ++i)
			dt[i] = 512/(i+2);
	}
}